package cn.myj2c.executor.values;

public class JavaFloat extends JavaValue {
    private final float value;

    public JavaFloat(float value) {
        this.value = value;
    }

    @Override
    public float floatValue() {
        return this.value;
    }

    public JavaFloat copy() {
        return new JavaFloat(value);
    }
    public String toString() {
        return "JavaFloat(value=" + value + ")";
    }
}
